package com.zt.user;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "bank-user")
public interface UserFeign {
    //根据用户id查询用户
    @GetMapping("/user/getUserById")
    public String getUserById(@RequestParam("uid") Integer uid);
}
